package com.pzcnet.model;

import lombok.Data;

/**
 * Created by LK on 2017/9/14.
 */
@Data
public class EventException extends RuntimeException {

    private Payload payload;
    private String msg;

    public EventException() {
        super();
    }

    public EventException(String msg) {
        super(msg);
        this.msg = msg;
    }

    public EventException(Payload payload) {
        super();
        this.payload = payload;
    }

    public EventException(String msg, Payload payload) {
        super(msg);
        this.msg = msg;
        this.payload = payload;
    }
}
